package com.ruoyi.spicfz.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司信息对象 spicfz_company
 * 
 * @author ruoyi
 * @date 2021-08-30
 */
public class Company extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long companyId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 公司类型 */
    @Excel(name = "公司类型")
    private String companyType;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String companyIdnumber;

    /** 公司电话 */
    @Excel(name = "公司电话")
    private String companyPhonenumber;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String companyAddress;

    /** 公司邮箱 */
    @Excel(name = "公司邮箱")
    private String companyEmail;

    /** 公司网址 */
    @Excel(name = "公司网址")
    private String companyWebsite;

    /** 注册资本 */
    @Excel(name = "注册资本")
    private BigDecimal registeredCapital;

    /** 实缴资本 */
    @Excel(name = "实缴资本")
    private BigDecimal paidinCapital;

    /** 登记机关 */
    @Excel(name = "登记机关")
    private String registrationAuthority;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date incorporationDate;

    /** 注册地址 */
    @Excel(name = "注册地址")
    private String registeredAddress;

    /** 营业执照路径 */
    private String companyPath;

    /** 公司状态（0正常 1停用） */
    @Excel(name = "公司状态", readConverterExp = "0=正常,1=停用")
    private String companyStatus;

    /** 公司简介1 */
    @Excel(name = "公司简介1")
    private String companyIntro1;

    /** 公司简介2 */
    @Excel(name = "公司简介2")
    private String companyIntro2;

    /** 公司备注信息 */
    private String companyRemark;

    /** 状态（0正常 1异常） */
    private String status;

    /** 股东信息信息 */
    private List<Shareholder> shareholderList;

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCompanyType(String companyType) 
    {
        this.companyType = companyType;
    }

    public String getCompanyType() 
    {
        return companyType;
    }
    public void setCompanyIdnumber(String companyIdnumber) 
    {
        this.companyIdnumber = companyIdnumber;
    }

    public String getCompanyIdnumber() 
    {
        return companyIdnumber;
    }
    public void setCompanyPhonenumber(String companyPhonenumber) 
    {
        this.companyPhonenumber = companyPhonenumber;
    }

    public String getCompanyPhonenumber() 
    {
        return companyPhonenumber;
    }
    public void setCompanyAddress(String companyAddress) 
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress() 
    {
        return companyAddress;
    }
    public void setCompanyEmail(String companyEmail) 
    {
        this.companyEmail = companyEmail;
    }

    public String getCompanyEmail() 
    {
        return companyEmail;
    }
    public void setCompanyWebsite(String companyWebsite) 
    {
        this.companyWebsite = companyWebsite;
    }

    public String getCompanyWebsite() 
    {
        return companyWebsite;
    }
    public void setRegisteredCapital(BigDecimal registeredCapital) 
    {
        this.registeredCapital = registeredCapital;
    }

    public BigDecimal getRegisteredCapital() 
    {
        return registeredCapital;
    }
    public void setPaidinCapital(BigDecimal paidinCapital) 
    {
        this.paidinCapital = paidinCapital;
    }

    public BigDecimal getPaidinCapital() 
    {
        return paidinCapital;
    }
    public void setRegistrationAuthority(String registrationAuthority) 
    {
        this.registrationAuthority = registrationAuthority;
    }

    public String getRegistrationAuthority() 
    {
        return registrationAuthority;
    }
    public void setIncorporationDate(Date incorporationDate) 
    {
        this.incorporationDate = incorporationDate;
    }

    public Date getIncorporationDate() 
    {
        return incorporationDate;
    }
    public void setRegisteredAddress(String registeredAddress) 
    {
        this.registeredAddress = registeredAddress;
    }

    public String getRegisteredAddress() 
    {
        return registeredAddress;
    }
    public void setCompanyPath(String companyPath) 
    {
        this.companyPath = companyPath;
    }

    public String getCompanyPath() 
    {
        return companyPath;
    }
    public void setCompanyStatus(String companyStatus) 
    {
        this.companyStatus = companyStatus;
    }

    public String getCompanyStatus() 
    {
        return companyStatus;
    }
    public void setCompanyIntro1(String companyIntro1) 
    {
        this.companyIntro1 = companyIntro1;
    }

    public String getCompanyIntro1() 
    {
        return companyIntro1;
    }
    public void setCompanyIntro2(String companyIntro2) 
    {
        this.companyIntro2 = companyIntro2;
    }

    public String getCompanyIntro2() 
    {
        return companyIntro2;
    }
    public void setCompanyRemark(String companyRemark) 
    {
        this.companyRemark = companyRemark;
    }

    public String getCompanyRemark() 
    {
        return companyRemark;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public List<Shareholder> getShareholderList()
    {
        return shareholderList;
    }

    public void setShareholderList(List<Shareholder> shareholderList)
    {
        this.shareholderList = shareholderList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("companyType", getCompanyType())
            .append("companyIdnumber", getCompanyIdnumber())
            .append("companyPhonenumber", getCompanyPhonenumber())
            .append("companyAddress", getCompanyAddress())
            .append("companyEmail", getCompanyEmail())
            .append("companyWebsite", getCompanyWebsite())
            .append("registeredCapital", getRegisteredCapital())
            .append("paidinCapital", getPaidinCapital())
            .append("registrationAuthority", getRegistrationAuthority())
            .append("incorporationDate", getIncorporationDate())
            .append("registeredAddress", getRegisteredAddress())
            .append("companyPath", getCompanyPath())
            .append("companyStatus", getCompanyStatus())
            .append("companyIntro1", getCompanyIntro1())
            .append("companyIntro2", getCompanyIntro2())
            .append("companyRemark", getCompanyRemark())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("shareholderList", getShareholderList())
            .toString();
    }
}
